package com.xr.blog.service;

import com.xr.blog.tools.Result;
import com.xr.blog.tools.security.LoginBody;
import org.apache.commons.codec.DecoderException;

import java.security.NoSuchAlgorithmException;
import java.security.spec.InvalidKeySpecException;

public interface LoginService {
    Result<String> login(LoginBody loginBody) throws NoSuchAlgorithmException, DecoderException, InvalidKeySpecException;
}
